numOfStudents = eval(input("输入你的学生数：\n"))
max_score = 0
max_student = ''
for i in range(numOfStudents):
    student = input("请输入名字\n")
    score = eval(input("请输入名字和分数\n"))
    if score>max_score:
        max_score = score
        max_student = student

print("分数最高的学生姓名为： " + max_student + "'，他的分数：" + str(max_score))